package myhibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * TPropertyDepartment entity. @author MyEclipse Persistence Tools
 */

public class TPropertyDepartment implements java.io.Serializable {

	// Fields

	private Integer departmentId;
	private String departmentName;
	private String departmentPassword;
	private Set TComplaints = new HashSet(0);
	private Set TRepairs = new HashSet(0);

	// Constructors

	/** default constructor */
	public TPropertyDepartment() {
	}

	/** full constructor */
	public TPropertyDepartment(String departmentName, String departmentPassword, Set TComplaints, Set TRepairs) {
		this.departmentName = departmentName;
		this.departmentPassword = departmentPassword;
		this.TComplaints = TComplaints;
		this.TRepairs = TRepairs;
	}

	// Property accessors

	public Integer getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return this.departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getDepartmentPassword() {
		return this.departmentPassword;
	}

	public void setDepartmentPassword(String departmentPassword) {
		this.departmentPassword = departmentPassword;
	}

	public Set getTComplaints() {
		return this.TComplaints;
	}

	public void setTComplaints(Set TComplaints) {
		this.TComplaints = TComplaints;
	}

	public Set getTRepairs() {
		return this.TRepairs;
	}

	public void setTRepairs(Set TRepairs) {
		this.TRepairs = TRepairs;
	}

}